package com.ruoyi.official.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备对象 official_device
 * 
 * @author yuanqiji
 * @date 2025-03-21
 */
public class OfficialDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 中文设备名称 */
    @Excel(name = "中文设备名称")
    private String deviceNameZh;

    /** 英文设备名称 */
    @Excel(name = "英文设备名称")
    private String deviceNameEn;

    /** 设备图片 */
    @Excel(name = "设备图片")
    private String deviceUrl;

    /** 中文详情名称 */
    @Excel(name = "中文详情名称")
    private String deviceDetailsZh;

    /** 英文详情名称 */
    @Excel(name = "英文详情名称")
    private String deviceDetailsEn;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeviceNameZh(String deviceNameZh) 
    {
        this.deviceNameZh = deviceNameZh;
    }

    public String getDeviceNameZh() 
    {
        return deviceNameZh;
    }

    public void setDeviceNameEn(String deviceNameEn) 
    {
        this.deviceNameEn = deviceNameEn;
    }

    public String getDeviceNameEn() 
    {
        return deviceNameEn;
    }

    public void setDeviceUrl(String deviceUrl) 
    {
        this.deviceUrl = deviceUrl;
    }

    public String getDeviceUrl() 
    {
        return deviceUrl;
    }

    public void setDeviceDetailsZh(String deviceDetailsZh) 
    {
        this.deviceDetailsZh = deviceDetailsZh;
    }

    public String getDeviceDetailsZh() 
    {
        return deviceDetailsZh;
    }

    public void setDeviceDetailsEn(String deviceDetailsEn) 
    {
        this.deviceDetailsEn = deviceDetailsEn;
    }

    public String getDeviceDetailsEn() 
    {
        return deviceDetailsEn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceNameZh", getDeviceNameZh())
            .append("deviceNameEn", getDeviceNameEn())
            .append("deviceUrl", getDeviceUrl())
            .append("deviceDetailsZh", getDeviceDetailsZh())
            .append("deviceDetailsEn", getDeviceDetailsEn())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
